package net.maku.events.convert;

import net.maku.events.entity.ActivityQuestionBankOptionEntity;
import net.maku.events.vo.ActivityQuestionBankOptionVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 题库题目选项
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-22
*/
@Mapper
public interface ActivityQuestionBankOptionConvert {
    ActivityQuestionBankOptionConvert INSTANCE = Mappers.getMapper(ActivityQuestionBankOptionConvert.class);

    ActivityQuestionBankOptionEntity convert(ActivityQuestionBankOptionVO vo);

    ActivityQuestionBankOptionVO convert(ActivityQuestionBankOptionEntity entity);

    List<ActivityQuestionBankOptionVO> convertList(List<ActivityQuestionBankOptionEntity> list);

}